package com.hyy.demo.helloworld;

import org.squirrelframework.foundation.fsm.Condition;

/**
 * Created by hyygavin on 2018/1/13.
 */
public class Condition1 implements Condition<Object> {
    public boolean isSatisfied(Object o) {
        System.out.println(o instanceof  Integer);
        return true;
    }

    public String name() {
        return null;
    }
}
